package cn.golxen.barcode.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BarcodeInfo {
    String code;
    String trademark;
    String goodsName;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    Double price;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    String url;
}
